<?php $view = $this; if(1!=1)$view = new View(); ?>
<?php header("Content-type:text/html;charset=utf-8"); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title><?php $view->import('title');?></title>
<?php $view->css('common.css');?>
<?php $view->css('style.css');?>
</head>
<body>

<div class="header-wrapper" id="Top">
	<div class="header">
		<div class="logo"><a href="#"><img src="<?php $view->pic('logo.png');?>" alt="理财软件" /></a></div>
		<div class="top-nav">
			<span class="account"><?php echo $view->UserInfo['UserName'];?></span>
			
			<div class="more-nav" onmouseover="this.className='more-nav more-hover'" onmouseout="this.className='more-nav'">
			<a class="more-arrow trackable" target="_blank" href="javascript:void(0);">基础资料</a>
			<ul class="more">
			<li><a class="more-arrow trackable" href="?m=account">账户管理</a></li>
			<li><a class="trackable" href="?m=people">人员信息</a></li>
			<li><a class="trackable" href="?m=organ">机构资料</a></li>
    		<li><a class="trackable" href="?m=ieitems">收支项目</a></li>
    		</ul>
    		</div> |
			
			<a href="#" target="_blank" class="more-arrow trackable">系统管理</a> |
			<a href="#" target="_blank" class="trackable">帮助</a> |
			<a href="passport.php?m=passport&a=logout">退出</a>
		</div>
		<div class="view-tab">
			
		</div>
		<div class="top-report-nav">
			<div class="recommend-reports l" id="RecommendReports">
				<a href="?m=index" class="trackable">财务概况</a> | 
				<a href="#" class="trackable">分析报表</a> | 
				<a href="?m=record" class="trackable">收支记录</a>
			</div>
		</div>
	</div>
</div>

<div class="body clearfix">
	<div class="aside">
		<?php $this->place('left')?>
	</div>
	<div class="misc">
		<div class="feedback" id="Feedback"><a href="#" target="_blank" class="trackable"></a></div>
		<div class="back-to-top" id="BackToTop" style="display: none;"><a href="#Top" class="trackable"></a></div>
	</div>
<div class="main">
            <div class="content clearfix">
                
<div class="title-bar clearfix">
    <h1 class="title l"><?php echo $this->title;?></h1>
    <div class="tool-bar r" id="ToolBar">
        <?php $this->place('toolbar')?>
    </div>
</div>

<div id="IndexPreview clearfix" class="table-list">    

<?php $this->place('content')?>

</div>
</div>
<div class="footer">
    数据库连接次数：<?php echo DB::getLinkTotal();?>，执行查询次数：<?php echo DB::getQueryTotal();?>，页面执行时间：<?php echo RegGlobal::get('USE_TIME')?><br /><span>&copy;2012 Mym</span><a target="_blank" href="#">Mym首页</a><a target="_blank" href="#">关于Mym</a><a target="_blank" href="#">使用前必读</a>
</div>
        </div>
</div>
<script type="text/javascript">

</script>
</body>
</html>